package com.qiantu.api.entity;

import java.util.List;

public class ProtocolSwitchResultBean {

    private String queryCode;
    private String createTime;
    private String updateTime;
    private int actionStateType;
    private String controllerSerialNo;
    private Controller controllerDto;

    public String getQueryCode() {
        return queryCode;
    }

    public void setQueryCode(String queryCode) {
        this.queryCode = queryCode;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getActionStateType() {
        return actionStateType;
    }

    public void setActionStateType(int actionStateType) {
        this.actionStateType = actionStateType;
    }

    public String getControllerSerialNo() {
        return controllerSerialNo;
    }

    public void setControllerSerialNo(String controllerSerialNo) {
        this.controllerSerialNo = controllerSerialNo;
    }

    public Controller getControllerDto() {
        return controllerDto;
    }

    public void setControllerDto(Controller controllerDto) {
        this.controllerDto = controllerDto;
    }

    public static class Controller{

        private String controllerSerialNo;
        private String name;
        private String productModel;
        private boolean isDisable;
        private String imageUrl;
        private String codeNo;
        private int stateType;
        private List<DeviceItem> deviceItems;

        public String getControllerSerialNo() {
            return controllerSerialNo;
        }

        public void setControllerSerialNo(String controllerSerialNo) {
            this.controllerSerialNo = controllerSerialNo;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getProductModel() {
            return productModel;
        }

        public void setProductModel(String productModel) {
            this.productModel = productModel;
        }

        public boolean isIsDisable() {
            return isDisable;
        }

        public void setIsDisable(boolean isDisable) {
            this.isDisable = isDisable;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getCodeNo() {
            return codeNo;
        }

        public void setCodeNo(String codeNo) {
            this.codeNo = codeNo;
        }

        public int getStateType() {
            return stateType;
        }

        public void setStateType(int stateType) {
            this.stateType = stateType;
        }

        public List<DeviceItem> getDeviceItems() {
            return deviceItems;
        }

        public void setDeviceItems(List<DeviceItem> deviceItems) {
            this.deviceItems = deviceItems;
        }

        public static class DeviceItem {
            private String deviceSerialNo;
            private int sort;
            private String deviceType;
            private String name;
            private boolean isFavourite;
            private String imageUrl;
            private boolean isDisable;
            private Object deviceItemLinkInfo;

            public String getDeviceSerialNo() {
                return deviceSerialNo;
            }

            public void setDeviceSerialNo(String deviceSerialNo) {
                this.deviceSerialNo = deviceSerialNo;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getDeviceType() {
                return deviceType;
            }

            public void setDeviceType(String deviceType) {
                this.deviceType = deviceType;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public boolean isIsFavourite() {
                return isFavourite;
            }

            public void setIsFavourite(boolean isFavourite) {
                this.isFavourite = isFavourite;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public boolean isIsDisable() {
                return isDisable;
            }

            public void setIsDisable(boolean isDisable) {
                this.isDisable = isDisable;
            }

            public Object getDeviceItemLinkInfo() {
                return deviceItemLinkInfo;
            }

            public void setDeviceItemLinkInfo(Object deviceItemLinkInfo) {
                this.deviceItemLinkInfo = deviceItemLinkInfo;
            }
        }
    }
}
